home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / nsadmin.z / nsadmin
Encoding:
Text File  |  1998-10-20  |  5.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. nnnnssssaaaaddddmmmmiiiinnnn((((1111MMMM))))                                                        nnnnssssaaaaddddmmmmiiiinnnn((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      nsadmin - Name Service Administration Utility
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      nnnnssssaaaaddddmmmmiiiinnnn [[[[ccccoooommmmmmmmaaaannnndddd]]]] [[[[aaaarrrrgggguuuummmmeeeennnnttttssss]]]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The nnnnssssaaaaddddmmmmiiiinnnn utility is used for administration of the Unified Name
  16.      Service interface (see nnnnssssdddd(1m)).  The nsd daemon maintains a filesystem
  17.      typically mounted on ////nnnnssss using various directory service protocols to
  18.      provide information.  It also maintains local cache files for each
  19.      lookup.  The nsadmin command allows manipulation of the name space and
  20.      cache files maintained by the nsd daemon.  Run with no arguments it acts
  21.      as a command line interpreter and can be given multiple commands.  Each
  22.      command is followed by arguments and terminated by a newline.
  23.  
  24. CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
  25.      caches
  26.           Lists all cache file names.
  27.  
  28.      cat map ...
  29.           This cats the enumeration file for each named map.  The list of maps
  30.           can be found using the mmmmaaaappppssss command.
  31.  
  32.      clean cache ...
  33.           This remove entries that have timed out from a cache file.
  34.  
  35.      clear cache key ...
  36.           This removes each of the named keys from the specified cache file.
  37.           The list of cache files can be found using the ccccaaaacccchhhheeeessss command.
  38.  
  39.      domain domainname
  40.           This sets the current domain for flush and clear commands.
  41.  
  42.      dump cache [key] ...
  43.           This prints out some or all cached entries for the named map.  If no
  44.           keys are named then it prints out all entries for that map.  The
  45.           list of caches can be found by using the ccccaaaacccchhhheeeessss command.
  46.  
  47.      flush [cache] ...
  48.           This removes all keys in each of the named cache files.  If no cache
  49.           files are named then it removes all keys from all cache files.  The
  50.           list of cache files can be found by using the ccccaaaacccchhhheeeessss command.
  51.  
  52.      grep map expression ...
  53.           Does a regular expression search over the named map.  Multiple
  54.           ppppeeeerrrrllll(1) style regular expressions can be given and the lines which
  55.           match any of the expressions will be printed.  A list of maps can be
  56.           found by using the mmmmaaaappppssss command.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. nnnnssssaaaaddddmmmmiiiinnnn((((1111MMMM))))                                                        nnnnssssaaaaddddmmmmiiiinnnn((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      help [command] ...
  75.           Displays a help line for each of the named commands.  If no commands
  76.           are given then help will be given for all of the commands.
  77.  
  78.      maps This just lists the names of all the defined maps for this system.
  79.  
  80.      match map key ...
  81.           This looks up one or more key in the named map.  The list of maps
  82.           can be found using the mmmmaaaappppssss command.
  83.  
  84.      remove [cache] ...
  85.           Invalidates and removes the named cache file.  If no cache file is
  86.           listed, all cache files will be removed.  Cache files cannot safely
  87.           be removed using rm since multiple running processes may be holding
  88.           them open.  Using this command the file can be safely removed and
  89.           any running processes will reopen the file on next use.
  90.  
  91.      restart [options] ...
  92.           Kills nsd and removes all cache files, and restarts nsd will the
  93.           default options and any extras passed on the command line.
  94.  
  95.      watch
  96.           Monitors the nsd process and restarts on failure.
  97.  
  98. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  99.      The nnnnssssaaaaddddmmmmiiiinnnn command returns with a 0 status from interactive mode, or if
  100.      the command line execution succeeded.  On failure, it will return a error
  101.      status as defined in /usr/include/sys/errno.h.   Some of these error
  102.      codes are listed below.  Other error codes may be returned directly from
  103.      a system call.
  104.  
  105.      EINVAL    The arguments passed to the command are invalid.
  106.  
  107.      ELIBACC   The perl library MDBM_File could not be dynamically loaded.
  108.                This library is available in the eoe.sw.gifts_perl_lib inst
  109.                package.
  110.  
  111.      ENOENT    The file requested to be operated on does not exist.
  112.  
  113.      EPERM     The current process does not have permission to perform the
  114.                requested command.
  115.  
  116. FFFFIIIILLLLEEEESSSS
  117.      /var/ns/cache/*          /ns/.local/* /etc/nsswitch.conf
  118.  
  119. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  120.      nsd(1m)
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.